var createNonceStr = function () {   //生成字符串
  return Math.random().toString(36).substr(2, 15);
};

var createTimestamp = function () {  //创建随机时间
  return parseInt(new Date().getTime() / 1000) + '';
};

module.exports = {
  createNonceStr:createNonceStr,
  createTimestamp:createTimestamp
}